package com.newway.wechat.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.newway.common.result.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("place_booking_record")
public class PlaceBookingRecord extends BaseEntity {

    @TableId
    private Integer id;

    private String placeId;

    private String placeName;

    private String bookingDate;

    private String bookingTime;

    private String bookingPerson;

    private String price;

    private String status;//0预约成功 1 预约撤销 2 已使用 3 被取消

    private LocalDateTime createTime;

    private String userId;

    @TableField(exist = false)
    private String userName;

    private String placeAddress;

    //场地号
    private Integer num;

}
